/*选择器*/
.ll-cell{
  padding: 10px 15px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  .weui-cell{
    display: inline-block;
  }
}
.address-wrap{
  width:100%;
  .weui-cell{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }
  .weui-label{
    color: #666;
  }
  .weui-cell__ft{
    display: none;
  }
}
.picker-wrap{
  width:100%;
  .weui-cell{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }
  .weui-cell__ft{
    display: none;
  }
}
.form-wrap{
  padding: 0 0.3rem;
  background: #fff;
  border-bottom: 1px solid #ccc;
}
.form-item{
  padding: 0.2rem 0;
  border-bottom: 1px solid #ccc;
  line-height: 32px;
  &:last-of-type{
    border-bottom:0 none;
  }
  .label{
    color: #666;
  }
  .iconfont{
    color: #999;
  }
  .ctx{
    padding:0 10px;
    input{
      width: 100%;
      height: 32px;
      line-height: 32px;
      float: left;
      font-size:16px;
    }
  }
  &.img-wrap{
    .label{
      line-height: 50px;
    }
    .ctx{
      height: 50px;
    }
    img{
      height: 50px;
      display: inline-block;
    }
  }
  .vux-cell-box{
    height:32px;
  }
}
.form-wrap2{
  padding: 0.3rem 0;
  background: #fff;
  .txt{
    line-height: 1;
    padding:0 0.2rem 0.2rem ;
  }
}
.camera-wrap{
  background: url('~images/bg/nodate.png') #fcfcfc no-repeat center;
  border:1px solid #ddd;
  background-size: 60%;
  border-radius: 5px;
  height: 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding:1rem 0 0;
  margin: 0 0.3rem;
  .icon-add{
    font-size: 2rem;
    color: #6e6c77;
  }
  .footer{
    padding:0.2rem 0;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    z-index:2;
    .iconfont{
      padding: 0 5px 0 0;
      font-size: 18px;
    }
  }
}
.uploader-list{
  li{
    width: 25%;
    padding:0 0.2rem;
    box-sizing:border-box;
    float: left;
    .pic{
      border:1px solid #ddd;
      height: 1.5rem;
      line-height: 1.5rem;
      text-align: center;
      img{
        width: 100%;
        height:100%;
      }
      .iconfont{
        font-size: 1rem;
        color: #ddd;
      }
    }
  }
}

/*加的*/
.uploader-list{
  li{
    .pic{
      position: relative;
      .icon-del{
        position: absolute;
        z-index: 1;
        font-size: 0.4rem;
        line-height: 0.4rem;
        top:0.1rem;
        right: 0.1rem;
      }
    }
  }
}

.form-line2{
  /*height: 1.35rem;*/
  background: #fff;
  margin:0 0 0.2rem;
  padding:0 0.2rem 0.2rem;
  .left{
    width: 25px;
    height: 22px;
    overflow: hidden;
    font-size: 17px;
    color: #fff;
    text-align: center;
    padding:4px 0 0;
    border-radius: 2px;
    line-height: 1;
    margin:21px 0.2rem 0 0;
    &.green{
      background: #77babd;
    }
    &.yellow{
      background: #f6a355;
    }
  }
  .ctx{
    line-height: 1;
    dt{
      padding:0.3rem 0 0.18rem;
      font-size: 17px;
      color: #333333;
      line-height:24px;
    }
    dd{
      color: #888;
      font-size: 14px;
    }
  }
  .iconfont{
    color: #aaaaaa;
    padding:19px 0 0;
  }
}
.form-box{
  line-height: 45px;
  background: #fff;
  margin:0 0 0.2rem;
  padding:0 0.2rem;
  color: #888888;
  position:relative;
  .label{
    color: #333;
  }
  .vux-datetime{
    color: #888;
    display: inline-block;
  }
  .ctx{
    padding: 0 5px;
    input{
      height: 45px;
      line-height: 45px;
      width: 100%;
      font-size: 16px;
    }
    textarea{
      padding: 10px 0 0;
      line-height: 24px;
      width: 100%;
      height: 1.2rem;
      font-size: 16px;
    }
  }
  .goods-img{
    li{
      width: 1rem;
      height: 1rem;
      border:1px solid #ddd;
      margin:0 10px 10px 0;
      float: left;
      img{
        width: 100%;
        display:block;
      }
    }
    .tip{
      line-height: 1;
      font-size: 12px;
      padding: 0 0 0.3rem;
      color: #888888;
      text-align: right;
    }
  }
  .rit{
    color: #333;
    /*padding:0 0 0 5px;*/
    &.org{
      color: #ff7202;
    }
  }
  .org{
    input{
      color: #ff7202;
    }
  }
  .weui-label{
    color: #333;
  }
  .form-mask{
    position: absolute;
    left: 0;
    top:0;
    bottom: 0;
    right: 0;
    z-index:2;
  }
}
.price-box{
  width: 85px;
  height: 24px;
  line-height: 24px;
  border:1px solid @themeColor;
  border-radius: 4px;
  overflow: hidden;
  position: absolute;
  right: 0.2rem;
  bottom: 0.2rem;
  .iconfont{
    width: 25px;
    height: 24px;
    text-align: center;
  }
  .flex1{
    overflow: hidden;
    border-right: 1px solid @themeColor;
    border-left: 1px solid @themeColor;
    input{
      height: 24px;
      width: 100%;
      text-align: center;
      float: left;
    }
  }
  .icon-reduce{
    color: @themeColor;
  }
  .icon-add{
    background: @themeColor;
    color: #fff;
  }
}
/*check radio选中*/
.list-radio-circle{
  width:20px;
  height: 20px;
  border:1px solid #ccc;
  border-radius: 50%;
  position: relative;
  vertical-align: middle;
  display: inline-block;
  &:before{
    border: 2px solid transparent;
    border-left: 0;
    border-top: 0;
    content: " ";
    top: 4px;
    left: 7px;
    position: absolute;
    width: 4px;
    height: 8px;
    -webkit-transform: rotate(45deg) scale(0);
    transform: rotate(45deg) scale(0);
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s,-webkit-transform .2s;
  }
  &.pos-list{
    margin:-3px 5px 0 0;
  }
  & + .txt{
    display: inline-block;
    vertical-align: middle;
  }
}
.list-radio-check{
  opacity: 0;
  z-index:2;
}
.list-radio-check:checked + .list-radio-circle{
  background: @themeColor;
  border-color:@themeColor;
  &:before{
    border-color: #fff;
    -webkit-transform: rotate(45deg) scale(1);
    transform: rotate(45deg) scale(1);
  }
}
.list-radio-check:checked + .txt{
  color:@themeColor;
}

.addr-foot{
  line-height: 22px;
  padding:0 0.2rem;
  font-size: 12px;
  .iconfont{
    color: #959595;
    padding:0 5px 0 0;
  }
  .list-radio-circle{
    margin-right: 5px;
  }
  label{
    padding:10px 0 14px;
    display: inline-block;
  }
  .f-r{
    span{
      padding:10px 0 14px;
      display: inline-block;
    }
  }
}
.no-data{
  text-align:center;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  img{
   width:2.5rem;
  }
  .txt{
    line-height:40px;
  }
}
/*switch*/
.form-switch{
  margin: 0 0 0.2rem;
  padding: 6px 0.2rem;
  background: #fff;
  position: relative;
  .weui-label{
    font-size: 17px;
    line-height: 32px;
  }
  .weui-cell__bd{
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .vux-x-switch.weui-cell_switch{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
  .weui-switch:checked, .weui-switch-cp__input:checked ~ .weui-switch-cp__box{
    border-color: @themeColor;
    background-color: @themeColor;
  }
  .weui-switch{
    z-index: 1;
  }
  .server{
    position: absolute;
    left: 85px;
    top:12px;
    color: #959595;
  }
}
.lltab{
  margin:0 0 10px;
  &.vux-tab .vux-tab-item.vux-tab-selected{
    color: @themeColor;
    border-bottom: 3px solid @themeColor;
  }
  .vux-tab-ink-bar{
    background-color: @themeColor;
  }
}
.form-remind{
  line-height: 46px;
  margin-top:-0.3rem;
  padding:0 0.45rem 0 0.2rem;
  display: inline-block;
  position: relative;
  .iconfont{
    position: absolute;
    right: 0;
    top:0;
  }
}
.safe{
  .vux-cell-placeholder{
    font-size: 14px;
  }
  .weui-label{
    color: #333;
  }
}
.qr-code{
  text-align: center;
  padding:0 0 28px;
  .tit{
    line-height: 45px;
    border-bottom: 1px solid #ddd;
    position: relative;
    .iconfont{
      position: absolute;
      right: 0.2rem;
      top:0;
      color: #959595;
    }
  }
  .ctx{
    padding:26px 0;
  }
  img{
    margin:0 auto;
  }
  .tip{
    color: #888888;
    line-height: 1;
  }
}
.checkbox-wrap{
  .iconfont{
    color:@themeColor;
    padding:0 5px 0 0;
  }
  input + .icon-uncheck + .icon-checkbox{
    display: none;
  }
  input:checked + .icon-uncheck{
    display: none;
  }
  input:checked + .icon-uncheck + .icon-checkbox{
    display: inline-block;
  }
}
.pop-server{
  background: #f5f5f5;
  font-size: 17px;
  .title{
    height:45px;
    line-height: 45px;
    text-align: center;
    background: #fff; 
  }
  .list{
    background: #fff; 
    margin:0 0 50px;
    border-top: 1px solid #ddd;
    li{
      height: 44px;
      line-height: 44px;
      border-bottom: 1px solid #ddd;
      padding:0 0.54rem;
    }
  }
  .ser-btn{
    height: 44px;
    line-height: 44px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    text-align: center;
  }
  .box{
    padding:0 0 50px;
  }
  .tip{
    line-height: 42px;
    padding:0 0.2rem;
    background: #fff;
  }
}
.secure-box{
  position: relative;
  height:44px; 
  line-height: 44px;
  background: #fff;
  padding:0 0.2rem;
}
.secure-ipt{
  padding:8px 0 0;
  .vux-number-selector svg{
    fill: @themeColor;
  }
  .vux-number-selector{
    border-color: @themeColor;
  }
  .vux-number-input{
    border-left: 1px solid @themeColor;
    border-right: 1px solid @themeColor;
  }
  .vux-number-selector-plus{
    background: @themeColor;
    svg{
      fill:#fff;
    }
  }
}
.form-tip{
  padding:0 0.2rem 0.3rem;
}
.dialog-s{
  padding:0 0.2rem 0.4rem;
  text-align: left;
  .icon-close{
    position:fixed;
    right: 0.2rem;
    top:0.2rem;
    font-size: 0.5rem;
    color: #333;
  }
}
.dialog-secure{
  .tit{
    font-size: 20px;
    line-height: 42px;
  }
  .list{
    line-height: 32px;
  }
  .tip{
    color: #999;
    line-height: 21px;
  }
  dl{
    padding:10px 0 0;
    dt{
      line-height: 46px;
    }
    dd{
      line-height: 26px;
    }
  }
}
.dialog-server{
  overflow-y: auto;
  height: 100%;
  .tit{
    padding:0.4rem 0 0;
  }
}
.dialog-dl{
  background: #f5f5f5;
  padding:0 10px 100px;
  h2{
    line-height: 32px;
    text-align: center;
    font-size: 18px;
    padding:10px 0 0;
    margin-top: 0.4rem;
  }
  dt{
    line-height: 42px;
    text-align: center;
  }
  dd{
    line-height: 24px;
  }
}
/*图片预览*/
.pre-pic{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index:6;
  img{
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
  }
}
.mask{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background:rgba(0,0,0,.5);
  z-index:6;
}
.remark-wrap{
  background: #fff;
  padding:0 3px 10px;
  border-top:1px solid #ddd;
  .remark-check{
    margin:5px 7px;
    display: block;
  }
  .tit{
    line-height: 32px;
    font-size: 14px;
    color: #888888;
    padding:0 7px;
  }
}
.remark-check{
  font-size: 14px;
  line-height: 1;
  position: relative;
  display: block;
  .ipt{
    position: absolute;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
  }
  .ipt:checked + .txt{
    border-color: #6478ae;
    color: #6478ae;
    background: #f2f5ff;
  }
  .txt{
    border:1px solid #dddddd;
    border-radius: 5px;
    padding:10px 15px;
    color: #888888;
    display: block;
  }
}